package com.lagou.mapper;

import com.lagou.pojo.TArticle;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface TArticleMapper {
    @Select("SELECT id, title, content, created, modified, categories, tags, allow_comment as allowComment, thumbnail FROM t_article")
    List<TArticle> findAll();
}
